home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SunSoft Catalyst CDWARE 1996 May to August
/
Catalyst CDWARE 1996 May to August.iso
/
.products
/
.bin
/
httpd
/
Solaris_2
/
finger
< prev
next >
Wrap
Text File
|
1995-05-18
|
454b
|
30 lines
#!/bin/sh
FINGER=/usr/ucb/finger
echo Content-type: text/html
echo
if [ -x $FINGER ]; then
if [ $# = 0 ]; then
cat << EOM
<HTML><HEAD><TITLE>Finger Gateway</TITLE></HEAD><BODY>
<H1>Finger Gateway</H1>
<ISINDEX>
This is a gateway to "finger". Type a user@host combination in your browser's
search dialog.<P>
EOM
else
echo \<PRE\>
$FINGER "$*"
echo \</PRE\>
fi
else
echo Cannot find finger on this system.
fi
cat << EOM
</BODY></HTML>
EOM